import request from "../request.js"

function recommendList(){
	return request({
		url:"/lejuClient/home/recommendList"
	})
}

function findCategory(id){
	return request({
		url:`/lejuClient/productCategory/findCategory/${id}`
	})
}


function hotList(){
	return request({
		url:"/lejuClient/home/hotList"
	})
}
function lejuLatestProducts(){
	return request({
		url:"/lejuClient/home/lejuLatestProducts"
	})
}

function saleMostProducts(){
	return request({
		url:"/lejuClient/home/saleMostProducts"
	})
}

function findBrandsByPage(start,limit){
	return request({
		url:`/lejuClient/brand/findBrandsByPage/${start}/${limit}`
	})
}

function findArticleByPage(start,limit){
	return request({
		url:`/lejuClient/productArticle/findArticleByPage/${start}/${limit}`
	})
}
export {
	recommendList,
	findCategory,
	hotList,
	lejuLatestProducts,
	saleMostProducts,
	findBrandsByPage,
	findArticleByPage
}